import Vue from 'vue'
import App from './App.vue'
import router from './router'
import axios from 'axios'
import Tabs from './components/MyTabs'
import BackTop from './components/BackTop'
// axios.defaults.baseURL
Vue.use(Tabs)
Vue.use(BackTop)
Vue.config.productionTip = false
Vue.prototype.axios = axios
if(process.env.NODE_ENV=="'dev'"){
  axios.defaults.baseURL='api'
}else{
  axios.defaults.baseURL='http://iwenwiki.com:3000'
}
new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
